import request from '@/utils/request'

/**
 * 已添加的充值记录列表
 * @param {*} data
 */
export function recordQueryPage(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: 'backend/exchangeRecharge/queryPage',
    method: 'post',
    data
  })
}

/**
 * 资金注入
 * @param {*} data
 */
export function insert(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: 'backend/exchangeRecharge/insert',
    method: 'post',
    data
  })
}

/**
 * 根据出金账户--查询充值记录
 * @param data
 * @returns {*}
 */
export function getRech(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/recharge/getExchangeRecharge',
    method: 'post',
    data
  })
}

